﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mode
{
     public  class Bookinfo
    {
        public string bookID { get; set; }
        public string ISBN { get; set; }
        public string bookName { get; set; }
        public string author { get; set; }
        public DateTime publishDate { get; set; }
        public string bookVersion { get; set; }
        public int wordCount { get; set; }
        public int pageCount { get; set; }
        public string publisher { get; set; }
        public decimal prices { get; set; }
        public virtual Bookclass Bookclass { get; set; }
        public Bookinfo() { }
        public Bookinfo (string bookId,string Isbn,string bookname,string Author,DateTime PublishDate, string BookVersion, int WordCount, int PageCount, string Publisher, decimal Prices,string ClassID)
        {
            this.bookID = bookId;
            this.ISBN = Isbn;
            this.bookName = bookname;
            this.author = Author;
            this.publishDate = PublishDate;
            this.bookVersion = BookVersion;
            this.wordCount = WordCount;
            this.pageCount = PageCount;
            this.publisher = Publisher;
            this.prices = Prices;
            this.Bookclass.classId = ClassID;
        }
    }
}
